package com.netty.socket.gatewayClient;

import io.netty.channel.ChannelInitializer;
import io.netty.channel.socket.SocketChannel;

/**
 * Created by Administrator on 2018/9/9/009.
 */
public class GatewayClientInitializer extends ChannelInitializer<SocketChannel> {
    @Override
    protected void initChannel(SocketChannel ch) throws Exception {
        ch.pipeline().addLast(new GatewayClientHandler());
    }
}
